package com.ghosthigh.simpleaccount.server.service;

import com.ghosthigh.simpleaccount.shared.model.UserAccount;
import com.googlecode.objectify.Key;
import com.googlecode.objectify.ObjectifyService;
import com.googlecode.objectify.util.DAOBase;

public class UserManagerService extends DAOBase {
  static {
    ObjectifyService.register(UserAccount.class);
  }

  public UserAccount getUserAccount(String userId) {
    return ofy().get(new Key<UserAccount>(UserAccount.class, userId));
  }
}
